home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 001a / lnxinfo.zip / FAQFEB93.P1 < prev    next >
Internet Message Format  |  1993-03-03  |  79KB

  1. Path: labri.greco-prog.fr!corsini
  2. Newsgroups: news.answers,comp.answers,comp.os.linux,comp.os.linux.announce
  3. Distribution: world
  4. Followup-To: poster
  5. From: corsini@labri.greco-prog.fr
  6. Reply-To: linux@numero6.greco-prog.fr
  7. Organization: Greco Prog. CNRS & LaBRI, Bordeaux France
  8. Subject: Linux Frequently Asked Questions 1/4 [monthly posted]
  9. Approved: news-answers-request@MIT.Edu
  10. Summary: Linux, a small and free unix-like for 386-AT computers.
  11.  
  12. Archive-name: linux-faq/part1
  13. Last-Modified: 93/02/11
  14. Version: 1.16
  15.  
  16. *********************************************************
  17. *                            *
  18. *   Answers to Frequently asked questions about Linux   *
  19. *                            *
  20. *********************************************************
  21.  
  22. This post contains Part 1 of the Linux FAQ (4 parts)
  23.  
  24. Hi Linuxers!
  25.  
  26. The original FAQ 1st version was posted on Dec. 19, 1991 by Robert Blum.
  27.  
  28. Most credits to Linus, Robert and Ted for the departure point of this
  29. work. The first X11 section was written by Peter Hawkins, the rest was
  30. either on the list posted by many (real) activists, not me ;-), either
  31. in some other news groups, or else by direct posting to me (thanks
  32. Humberto, Dan, Michael, Drew, Audoin). I haven't systematically
  33. copyrighted them, so thanks to every one who participated even
  34. indirectly to this FAQ.
  35.  
  36. Since September 1992, the FAQ is co-written by:
  37.  
  38. WHO             (WHAT)         E-MAIL
  39. =============================================================================
  40. Lars Wirzenius         (META-FAQ)     wirzeniu@cc.helsinki.fi
  41. Mark Komarinski     (DOS)          komarimf@craft.camp.clarkson.edu
  42. Matt Welsh        (GENERAL INFO)    mdw@tc.cornell.edu
  43. Matt Welsh        (INSTALLATION)    mdw@tc.cornell.edu
  44. Drew Eckhardt        (SCSI)        drew@headrest.woz.colorado.edu
  45. Hongjiu Lu        (GCC)        hlu@eecs.wsu.edu
  46. Krishna Balasubramanian (X11)        balasub@cis.ohio-state.edu 
  47. Zane Healy        (BBS INFO)    healyzh@holonet.net
  48. Philip Copeland        (NET INFO)    p_copela@csd.bristol-poly.ac.uk
  49. Rick Miller        (DEVICE INFO)    rick@ee.uwm.edu
  50. Peter MacDonald        (SLS INFO)    pmacdona@sanjuan.uvic.ca
  51. Rick Sladkey        (EMACS)        jrs@world.std.com
  52. Dirk Hohndel        (PROOF READER)    hohndel@informatik.uni-wuerzburg.dbp.de
  53. Marc-Michel Corsini    (FAQ collector)    corsini@{labri,firmin}.greco-prog.fr
  54. =============================================================================
  55.  
  56. If anyone is interested in participating with this FAQ, just send me a
  57. note with: your name/e-mail and the section you want to maintain.  
  58.  
  59. Many of the questions could be avoided, if people had read the FAQ of
  60. the following newsgroups: news.announce.newusers, comp.lang.c,
  61. gnu.emacs.help,  comp.unix.questions, comp.windows.x.i386unix.  
  62.  
  63. [The last-change-date of this posting is always "two minutes ago".  :-)]
  64.  
  65. This is the introduction to a list of frequently asked questions (FAQ
  66. for short) about Linux with answers (Yeap!).  This article contains a
  67. listing of the sections and queries.
  68.  
  69. This FAQ is supposed to reduce the noise level ;-) in the
  70. comp.os.linux newsgroup, and spare the time of many activists. I will
  71. cross-post it each month to news.answers. This FAQ is NOT an
  72. introduction to UNIX, there are many books for unix, and there is
  73. *also* a FAQ for unix (it's the one of comp.unix.questions which
  74. contains things such as "How do I remove a file named -". I DO NOT
  75. WANT TO ADD SUCH THINGS IN THIS FAQ DEVOTED TO LINUX.
  76.  
  77. Some books to read: 
  78.   The C Programming Language: Kernighan & Ritchie
  79.   POSIX Programmer's Guide: D. Lewine
  80.   Unix System Administration Handbook: Nemeth, Snyder & Seebass.
  81.   Unix for the Impatient: Abrahams & Larson
  82.   Unix System V Release 4, An Introduction, by Rosen, Rosinski and
  83.     Farber; Publisher Osborne MacGraw-Hill.
  84.   The X Windows System in a Nutshell: O'Reilly.
  85. .....
  86.  
  87. BTW This FAQ is available at the main Linux sites in the doc
  88. directory, the addresses are given in section II. of this FAQ. There
  89. is also an automated FAQ mailserver archive at pit-manager.mit.edu.
  90. Send mail to mail-server@pit-manager.mit.edu with the word "help" in
  91. the body.
  92.  
  93. The information in this multi-parts FAQ is likely to change relatively
  94. quickly. If this is more than two months old (it was released on
  95. February 1993) then you should obtain a new copy. See the paragraph
  96. above for details of where to find a more recent version.
  97.  
  98. Please suggest any change, rephrasing, deletions, new questions,
  99. answers ...  
  100. Please include "FAQ" in the subject of messages sent to me about FAQ.  
  101. Please use linux@numero6.greco-prog.fr whatever will be the From part 
  102. of this message. Finally discussion about the FAQ can be done on the
  103. DOC Channel (see section II).
  104.  
  105.  
  106. Thanks in advance,
  107.                 Marc
  108.  
  109. The FAQ can be found in LaTeX version, thanks to Pepe Flores Peters.
  110.  
  111. Future Plan:
  112.  
  113.     - provide FAQ as diff too, since it seems to stay stable
  114.       except for very few sections.
  115.     - perform automatic post to c.o.l, c.o.l.a, c.a and n.a 
  116.       every month as I promised long time ago.
  117.  
  118. ================================8<=====8<==============================
  119. CONTENTS (of this part)
  120.  
  121.     0.    WARNINGS                (part1)
  122.     I.    LINUX GENERAL INFORMATION        (part1)
  123.     II.    LINUX USEFUL ADDRESSES            (part1)
  124.     III.    INSTALLATION and COMMON PROBLEMS    (part1)
  125.  
  126. ================================8<=====8<==============================
  127.  
  128. 0. WARNINGS
  129. ===========
  130.  
  131. The FAQ contains a lot of information sometimes I've put it down 
  132. in 3 different ways because people seems not to understand what they
  133. read (or what I wrote, you know I'm just a froggy and english is not
  134. my natural language). What I mean is that not all is in the FAQ but 
  135. many things are there, so please just take time to read it this will 
  136. spare a lot of the other linuxers [and if you think I should rephrase
  137. some Q/A just drop me a note with the corrections].
  138.  
  139. As the Linux kernel changes monthly (and even more ...), I define 2
  140. pseudo variables a la C one for the version, and one for the date of
  141. the release.  
  142.  
  143. #define CURRENT_VERSION    0.99     /* the current version */
  144. #define PATCH_LEVEL       5        /* the patch level */
  145. #define KERNEL_DATE       10, Feb. /* Date of the CURRENT_VERSION */
  146.  
  147. In what follows I'll consider CURRENT_VERSION as the current version.
  148.  
  149. > From: torvalds@cs.Helsinki.FI (Linus Torvalds)
  150. > Subject: ANNOUNCE: linux 0.99 patchlevel 5
  151. > Date: Wed, 10 Feb 1993 12:02:55 +0200
  152. >     "He's done it yet again - doesn't he ever rest?"
  153. >             - anonymous linux kernel hacker
  154. > Only complete newbies don't know what this is all about, but I'd better
  155. > tell you anyway: patchlevel 5 of the 0.99 kernel is now available on
  156. > nic.funet.fi (pub/OS/Linux/PEOPLE/Linus) as both context diffs against
  157. > pl4 and complete source code.  I'm not even going to speculate on 1.0
  158. > right now. 
  159. > The pl5 diffs are about 90kB compressed: the major changes are to the
  160. > tcp/ip code and the serial driver, while there are various minor fixes
  161. > strewn around the system:
  162. >  - serial lines/tty changes (tytso & Fred v Kempen)
  163. >  - NFS bugfixes (Rick Sladkey)
  164. >  - tcp/ip (Ross Biro)
  165. >  - coprocessor handling changes (me)
  166. >  - harddisk driver error handling (Mika Liljeberg)
  167. >  - various minor patches (me and others)
  168. > Serial lines now implement non-blocking opens correctly and support
  169. > dial-out lines (same minor, major==5).  I changed the default startup
  170. > mode to be CLOCAL so that people won't get confused by the modem line
  171. > code when not using dial-in. 
  172. > Another interesting change is the 387 error-coupling tests at bootup:
  173. > the code to check if the intel-recommended exception 16 error reporting
  174. > is present is "non-obvious".  If you have had problems with coprocessor
  175. > error handling, or have a non-intel coprocessor, I'd suggest you test
  176. > this out: I'd like to hear about problems/successes. 
  177. >         Linus
  178. > PS.  If you tested out the latest ALPHA-diffs (the ones that already
  179. > changed the kernel version to pl5), the changes to the final pl5 were
  180. > only cosmetic. 
  181.  
  182.  
  183.  
  184. I. LINUX GENERAL INFORMATION 
  185. =============================
  186. *** This section is maintained by Matt Welsh (mdw@tc.cornell.edu). Mail
  187. *** him if you have corrections, additions, other questions, etc. 
  188. *** Last update November 1992.
  189.  
  190.  
  191. QUESTION: What is linux?
  192.  
  193. ANSWER: Linux is a small unix for 386-AT computers, that has the added
  194. advantage of being free(*). It is still in beta-testing, but is slowly
  195. getting useful even for somewhat real developement.  The current
  196. version is CURRENT_VERSION, date: KERNEL_DATE. 
  197.  
  198. (*) Free means that you may use it, change it , redistribute it, as
  199. long as you don't change the copyright. Free does not mean public
  200. domain.
  201.  
  202.  
  203. Linux is a freely distributable UNIX clone.  It implements a subset of
  204. System V and POSIX functionality, and contains a lot of BSD-isms.
  205. LINUX has been written from scratch, and therefore does not contain
  206. any AT&T or MINIX code--not in the kernel, the compiler, the
  207. utilities, or the libraries.  For this reason it can be made available
  208. with the complete source code via anonymous FTP.  LINUX runs only on
  209. 386/486 AT-bus machines; porting to non-Intel architectures is likely
  210. to be difficult, as the kernel makes extensive use of 386 memory
  211. management and task primitives. 
  212.  
  213.  
  214. QUESTION: Does Linux support GCC, TCP/IP, X-Windows, MGR, etc.?
  215.  
  216. ANSWER: Linux currently supports and uses a large amount of the GNU
  217. software (i.e. GCC, bison, groff, etc) so all of that functionality is
  218. there. X-Windows is also available, along with many client
  219. applications. MGR is there too. TCP/IP is in testing, and is available  
  220. for you to try out. 
  221.  
  222. (Dirk Hohndel:) TCP/IP is available. I use Linux boxes as Xterminals
  223. and my "own" asterix has mounted half a Gig via NFS. Mitch DSuoza is
  224. running an anonymous FTP server on his Linux box. This is definitely
  225. more than testing. The newest SLS  has a TCP/IP kernel by default. 
  226.  
  227.  
  228. See section VIII of this FAQ ("Features")!
  229.  
  230. In short, Linux supports many, many features and programs. One of the
  231. biggest questions is: 
  232.     "Does ***** work on Linux? Does Linux have *****?" 
  233. The answer, usually, is "yes". Just check out the rest of this FAQ,
  234. the newsgroup, as well as the files on the FTP sites. 
  235.  
  236.  
  237. QUESTION: What is the current state of Linux?
  238.  
  239. ANSWER: read the comp.os.linux newsgroup, where the INFO-SHEET is
  240. periodically posted.
  241.  
  242.  
  243. QUESTION: I've just heard about linux, what should I do to get it?
  244.  
  245. ANSWER: FIRST read this FAQ, and especially section III
  246. (installation).  Choose a "release" of Linux (such as MCC, SLS,
  247. bootdisk/rootdisk, etc).  Download from your nearest FTP site, use the
  248. "rawrite" program as needed to write the images to high-density
  249. floppies (5.25 or 3.5). Specific instructions are given in section III
  250. and in the README files for each release.
  251.  
  252. Note that some releases only give you the kernel and a few utilities,
  253. and others give you everything you need (including X11, GCC, and more)
  254. in that latter case the downloading is close to a douzen of SOFT. Just
  255. check out section III for more info.
  256.  
  257.  
  258. QUESTION: Does it run on my computer?
  259.  
  260. ANSWER: Linux has been written on a clone-386, with IDE drives and a
  261. VGA screen. It should work on most similar setups. The harddisk should
  262. be AT-standard, and the system must be ISA. (though *some* EISA
  263. success has been reported [T. Koenig], Linux doesn't take advantage of
  264. the EISA structure).  A high density floppy drive -- either 5.25" or
  265. 3.5"-- is required.
  266.  
  267. {Drew's information:
  268. Linux supports anything that's register compatable with a WD1003 MFM 
  269. disk controller (ie, the original PC-AT disk controller.)  Most AT
  270. MFM, RLL, ESDI, and IDE setups look like this.  
  271.  
  272. XT compatable disk controllers won't work.
  273.  
  274. Generally, the rule is if you have the disk configured into the 
  275. CMOS setup of your machine, it will work (because the BIOS is talking 
  276. to a WD 1003 compatable board), otherwise it won't.}
  277.  
  278. IDE and MFM seem to work with no problem. It works, also, for some
  279. ESDI drive (you might have to comment out the "unexpected hd
  280. interrupt"-message from hd.c). There exists a high-level SCSI driver,
  281. under which low-level drivers are placed; a ST-01/ST-02 low driver has
  282. been completed see the FEATURES and the USEFUL ADDRESSES sections.
  283.  
  284.  
  285. Otherwise the requirements seem relatively small: a 386 (SX, DX or any
  286. 486).  Any video card of the following: Hercules, CGA, EGA, (S)VGA.
  287.  
  288. It needs at least 2M to run (with SWAP), and 4M is definitely a plus.
  289. It can happily use up to 16M (and more if you want).
  290.  
  291. BTW There are problems with some MAXTOR drives on high speed machines
  292. (sometimes switching off "turbo" helps). There may also be a problem
  293. with "slow" memory (under 60ns) on fast  machines. Again, the solution
  294. is to turn off "turbo". Mixed SIMMs (3 and 9 chip versions) have also
  295. reported to be problematic. 
  296.  
  297. NOTE1: It doesn't run (yet?) on a MCA machine
  298. NOTE2: There is a driver for XT but not tested by me (see below)
  299. NOTE3: There is also a support for 8514 and S3.
  300.  
  301.   From: smackinla@cc.curtin.edu.au (Pat Mackinlay)
  302.   Subject: ANNOUNCE: New XT disk driver
  303.   Date: Tue, 15 Dec 1992 15:24:27 GMT
  304.  
  305.   This is a short note to annouce the second release of the XT hard disk 
  306.   drivers for Linux. This set of patches is for Linux 0.99 (pl0) and
  307.   should be available on tsx-11 under
  308.   /pub/linux/ALPHA/xtdisk/xtdisk2.tar.Z and  
  309.   /pub/linux/ALPHA/xtdisk/README.xtdisk.
  310.  
  311.   Just a brief introduction: this driver allows you to use XT-style (8
  312.   bit) hard drive controllers. The advantage of these is that you can
  313.   use them in conjunction with normal AT-style (16 bit) controllers,
  314.   IDE drives and SCSI drives. The major problem with them is the fact 
  315.   that they are very slow, so swapping to one of these
  316.   controllers/disks is not recomended <grin>. 
  317.  
  318.  
  319. QUESTION: Will Linux run on a PC or 286-AT? If not, why?
  320.  
  321. ANSWER: Linux uses the 386 chip protected mode functions extensively,
  322. and is a true 32-bit operating system. Thus x86 chips, x<3, will
  323. simply not run it.
  324.  
  325.  
  326. QUESTION: Will Linux run on a 386 Laptop?
  327.  
  328. ANSWER: It works, including X on most of them.
  329.  
  330.  
  331. QUESTION: Why the suggested 4Meg, for Linux?
  332.  
  333. ANSWER: Linux uses the first 640k for kernel text, kernel data and
  334. buffercache. Your mother board may eat up 384K because of the chipset.
  335. Moreover there is: init/login, a shell, update possibly other daemons.
  336. Then, while compiling there is make and gcc (2.01 ~770k).
  337. So you don't have enough real memory and have to page.
  338.  
  339.  
  340. QUESTION: How would this operate in an OS/2 environment?
  341.  
  342. ANSWER: Linux will coexist with *ANY* other operating system(s) which
  343. respects the "standard" PC partionning scheme - this includes Dos,
  344. Os/2, Minix etc. 
  345.  
  346. WARNING: Linux and OS/2 *can* co-exist on the same machine. BUT, you
  347. cannot use Linux's fdisk to make Linux partitions! See the warnings in
  348. section III about Linux and OS/2.
  349.  
  350.  
  351.  
  352. QUESTION: (Dan) How long has Linux been publicly available?
  353.  
  354. ANSWER (partial): Few months, v0.10 went out in Nov. 91, v0.11 in Dec.
  355. and the current version CURRENT_VERSION is available since
  356. KERNEL_DATE.  But even it is pretty recent it is quite reliable. There
  357. are very few and small bugs and in its current state it is mostly
  358. useful for people who are willing to port code and write new code. As
  359. Linux is very close to a reliable/stable system, Linus decided that
  360. v0.13 will be known as v0.95.  Believe it or not: the whole story
  361. started (nearly) with two processes that printed AAAA... and BBBB...
  362. BTW consult the digest#136 Vol2 for a complete story.
  363.  
  364.  
  365. QUESTION: What is the proper pronounciation for "Linux"?
  366.  
  367. ANSWER: (Linus himself)
  368. 'li' is pronounced with a short [ee] sound: compare prInt, mInImal etc. 
  369. 'nux' is also short, non-diphtong, like in pUt.  It's partly due to
  370. minix: linux was just my working name for the thing, and as I wrote it
  371. to replace minix on my system, the result is what it is...  linus' minix
  372. became linux. 
  373.  
  374. I originally intended it to be called freax (although buggix was one
  375. contender after I got fed up with some of the more persistent bugs :)
  376. and I think the kernel makefiles up to version 0.11 had something to
  377. that effect ("Makefile for the freax kernel" in a comment).  But arl
  378. called the linux directory at nic.funet.fi pub/OS/Linux, and the name
  379. stuck.  Maybe just as well: freax doesn't sound too good either (freax
  380. is obviosly free + freak + the obligatory -x). 
  381.  
  382. (Rick's note for English speakers:  Linux - "LIH-nuhks".)
  383.  
  384.  
  385. QUESTION: What's about the copyright of linux?
  386.  
  387. ANSWER: This is an except of the RELEASE Notes v.095a: Linux is
  388. NOT public domain software, but is copyrighted by Linus Torvalds. The
  389. copyright conditions are the same as those imposed by the GNU
  390. copyleft: The GNU GENERAL PUBLIC LICENSE Version 2, June 1991 is part
  391. of the source tree.
  392.  
  393.  
  394. QUESTION: Should I be a UNIX and/or a DOS wizard to install/use Linux?
  395.  
  396. ANSWER: Not at all, just follow the install rules, of course it will be 
  397. easier for you if you know things about Unix. Right now Linux is used
  398. by more than BIGNUM persons, very few of them enhance the kernel, some
  399. adds/ports new soft, most of us are only (but USEFUL) beta testers.
  400. Last but not least, various Linuxers work on manpages, newuser_help,
  401. file-system organization. So join us and choose your "caste".
  402.  
  403. It is even used in production environments (Dr. G.W. Wettstein)
  404.  
  405.  
  406. QUESTION: Does Linux use TSS segments to provide multitasking?
  407.  
  408. ANSWER: Yes!
  409.  
  410.  
  411. QUESTION: If my PC runs under Linux, is it possible to ftp, rlogin,
  412. rsh etc.. to other Unix boxes?
  413.  
  414. ANSWER: Kermit and ka9q have both been ported to Linux. Also, TCP/IP is
  415. quite reliable, only a few clients are missing.
  416. Read section XI. devoted to Ethernet and Linux.
  417.  
  418.  
  419. QUESTION: Does linux do paging? Can I have virtual memory on my small
  420. machine?
  421.  
  422. ANSWER: Yes, it does. Generally you set up a swap file or partition, and
  423. enable it with the "swapon" command. Voila! Virtual memory.
  424.  
  425.  
  426. QUESTION: Can I have tasks spanning the full 4GB of addressable 386
  427. memory? No more 64kB limits like in coherent or standard minix?
  428.  
  429. ANSWER: Since 0.97 it uses 4 GB Process Space, 3 for userspace and
  430. 1 for the kernel space.
  431.  
  432.  
  433. QUESTION: Does the bigger program sizes mean I can run X?
  434.  
  435. ANSWER: Yes! See section XII below for details on X11.
  436.  
  437.  
  438. QUESTION: What are the differences, pros and cons compared to Minix ?
  439.  
  440. ANSWER (partial): 
  441. Cons: 
  442. - Linux only works on 386 and 486 processors.  
  443. - Linux needs 2M of memory just to run, 4M to be useful.  
  444. - Linux is a more traditional unix kernel, it doesn't use message
  445. passing. 
  446.  
  447. Pros: 
  448. - Linux is free, and freely distributable, BUT copyrighted.  
  449. - Linux has some advanced features such as:
  450.   - Memory paging with copy-on-write
  451.   - Demand loading of executables
  452.   - Page sharing of executables
  453.   - Multi-threaded file system
  454.   - job control and virtual memory, virtual consoles and pseudo-ttys.
  455. - Linux is a more traditional unix kernel, it doesn't use message
  456. passing.
  457.  
  458.  
  459. QUESTION: What are the pros and cons compared to 386BSD ?
  460.  
  461. ANSWER: Linux and 386BSD started out as completely different projects,
  462. with completely different goals and design criteria in mind. Personally,
  463. my experience with 386BSD has shown that :
  464. (a) its TCP/IP is more stable, and seems to work (on my NE2000 card,
  465. which Linux doesn't support yet), but 
  466. (b) the interface and "feel" just wern't the same as Linux (which I liked
  467. better :) ). You'll have to try it out for yourself. Here's information
  468. from comp.unix.bsd, September 1992:
  469.  
  470. | This is a free BSD for the 386.  It does NFS and X.
  471. | Grab it from agate.berkeley.edu (128.32.136.1).  
  472. | Bill Jolitz is writing a book on it.
  473. | It has a neat, small kernel, and is stable enough to run for a week or
  474. | more without crashing/hanging. It works fine with 4MB RAM and 80MB
  475. | disk.  Running X however needs 8MB RAM, and supports only vanilla VGA.
  476. | The TCP/IP implementation in this is functional, but not optimised.
  477. | This means that FTP throughput is about 5KB/sec on Ethernet, when
  478. | almost anything else gives you about 70KB to 100KB per second.
  479. | Read comp.unix.bsd. That is almost entirely Jolitz's 386BSD now.
  480. |
  481. |    3. How much disk space for:
  482. |    *kernel
  483. |    *X
  484. |    *source to kernel
  485. |    *source to X
  486. |        Binary only:    49 M (30 disk, 5 swap, 14 extraction)
  487. |        Source:         125 M (49 bin, 37 disk, +6 extraction, 25 recompile)
  488. |        User software:  +51 M
  489. |
  490. |    X Binaries require about 61 Meg (?)
  491. |    I don't know about the sources.
  492.  
  493.  
  494. To conclude this Q/A wrt Linux vs 386BSD, you should read the Linux News
  495. Issue #5 of L. Wirzenius, where a true story of Mark W. Eichin is
  496. reported.
  497.  
  498.  
  499. QUESTION: How much space will Linux take up on my hard drive?
  500.  
  501. ANSWER: It depends on which release you choose. See the section
  502. INSTALLATION below. Usually it's somewhere between 10 megs (for a
  503. nominal system+swap space) and 30-40 megs (for everything plus space
  504. for user directories, etc.). 
  505.  
  506. BTW the full SLS needs around 60 MB (including TeX and other goodies).
  507.  
  508.  
  509. II. LINUX USEFUL ADDRESSES 
  510. =========================
  511.  
  512. II.A. LINUX ON THE NET: ftp, mailing-list
  513. II.B. OBTAINING LINUX FROM BBS'S: everything about bbs
  514.  
  515. II.A. LINUX ON THE NET
  516. ~~~~~~~~~~~~~~~~~~~~~~
  517.  
  518. QUESTION: Where can I get linux?
  519.  
  520. ANSWER: Linux (all the software, binaries, sources, releases, and so on),
  521. can be retrieved via anonymous FTP from :
  522.  
  523. [ Major sites ]
  524. EUROPE:
  525.     nic.funet.fi (128.214.6.100):
  526.         directory /pub/OS/Linux
  527.     ftp.informatik.tu-muenchen.de (131.159.0.110)
  528.         directory /pub/Linux
  529.  
  530. US:    
  531.     tsx-11.mit.edu (18.172.1.2):
  532.         directory /pub/linux
  533.     sunsite.unc.edu (152.2.22.81):
  534.         directory /pub/Linux
  535.  
  536. [ Mirroring sites (some of them, there are lots now) ]
  537.  
  538. AUSTRALIA:
  539.     kirk.bu.oz.au (131.244.1.1)
  540.         directory /pub/OS/Linux
  541.  
  542. EUROPE:
  543.         src.doc.ic.ac.uk (146.169.3.7):
  544.         directory /pub/os/Linux
  545.     ftp.mcc.ac.uk (130.88.200.7):
  546.         directory pub/linux
  547.     ftp.dfv.rwth-aachen.de (137.226.4.105):
  548.         directory /pub/linux
  549.     ftp.informatik.rwth-aachen.de (137.226.112.172):
  550.         directory /pub/Linux
  551.     ftp.ibr.cs.tu-bs.de (134.169.34.15):
  552.         directory /pub/os/linux
  553.  
  554. JAPAN:
  555.      kuis.kyoto-u.ac.jp (130.54.20.1):
  556.         directory /Linux 
  557.               /Linux/mirror (for the tsx mirror)
  558. KOREA:
  559.     cair.kaist.ac.kr (143.248.11.170):
  560.      mirror of sunsite; directory pub/Linux
  561.  
  562. US:
  563.     wustl.wuarchive.edu (128.252.135.4):
  564.         directory /pub/mirrors4/linux
  565.     ftp.eecs.umich.edu (141.212.99.7):
  566.         directory linux
  567.  
  568.  
  569. You might want to check out which of these is the most up-to-date.
  570.  
  571.  
  572. If you have no FTP capability, you are in trouble. See the next Q/A.
  573. Also, you'll need the "UNCOMP.EXE" and "RAWRITE2.EXE" programs for DOS
  574. (to make your install disks). These are usually found in the Linux
  575. directories on the above FTP sites.
  576.  
  577.  
  578. QUESTION: I do not have FTP access, what can I do to get linux?
  579.  
  580. ANSWER: You can either read the next subsection related to BBS's
  581. otherwise, read the following.
  582.  
  583. The SLS release is distributable by snail-mail on floppies for those
  584. without net access; see the SLS section in section III of this FAQ for
  585. more. 
  586.  
  587. Try to contact a friend on the net with those access, or try
  588. mailserver/ftpmail server otherwise contact tytso@ATHENA.MIT.EDU. You
  589. might try mailing "mailserver@nic.funet.fi" with "help" in the body of
  590. the mail.  If you choose ftpmail server (example: ftpmail@decwrl.dec.com),
  591. with "help" in the body, the server will send back instructions and
  592. command list. As an exemple to get the list of files available at tsx-11
  593. in /pub/linux send:
  594.  
  595.         mail ftpmail@decwrl.dec.com
  596.         subject: anything
  597.         reply <your e-mail>
  598.         connect tsx-11.mit.edu
  599.         chdir /pub/linux
  600.         dir -R
  601.         quit
  602.  
  603. In Europe ftp.informatik.tu-muenchen.de is accessible via e-mail (send
  604. "help" in the body to ftp-mailer@informatik.tu-muenchen.de)
  605.  
  606.  
  607. QUESTION: Is there a newsgroup or mailing-list about linux? Where can
  608. I get my questions answered? How about bug-reports?
  609.  
  610. ANSWER: The comp.os.linux newsgroup is literally *teeming* with postings.
  611. So, to the first question, yes. :) The older newsgroup, alt.os.linux,
  612. is being phased out and shouldn't be used anymore.
  613.  
  614. If you don't have news access you can get the digest of postings via
  615. e-mail from: Linux-activists-request@news-digests.mit.edu. This list
  616. is gatewayed to the newsgroup as well. Only use the 'request' address
  617. for subscribe/unsubscribe messages; don't post those to the newsgroup
  618. or to the actual mailing list.
  619.  
  620. Questions and bug-reports can be sent either to the newsgroup or to
  621. Linus himself at "torvalds@kruuna.helsinki.fi", depending on which you
  622. find more appropriate.
  623.  
  624.  
  625. And last but not least there is the original mailing-list, which is
  626. now a multi-channel list. 
  627.         contact linux-activists-request@niksula.hut.fi
  628.  
  629.  
  630. QUESTION: Could you be more explicit about the multi-channel list?
  631.  
  632. ANSWER: Well, there are many things to say:
  633.    - these channels are rather devoted to hackers
  634.    - the ones I am aware of are: GCC, MGR, X11, SCSI, NEW-CHANNELS,
  635.      MSDOS (emulator discussion) , NORMAL, KERNEL, FTP, LAPTOP, DOC,
  636.      NET, CONFIGS, LINUXNEWS ... 
  637.    - whenever you want to JOIN or LEAVE a channel you have to
  638.      contact the request address
  639.    - you have to use special header (X-Mn-Key and Mn-Admin); X-Mn-Key
  640.      is *ONLY* for regular post, the X-Mn-Admin is for *REQUEST*
  641.  
  642. (Ari Lemmke: 1 Nov. 1992):
  643.     Hmmm.... It seems our list has now about 1500 users
  644.     in 21 channels (mailing lists). 3960 without uniq.
  645.  
  646.     "echo foo | mail linux-activists-request@niksula.hut.fi"
  647.     to get the Mail-Net User Guide.
  648.  
  649. QUESTION: How can I join the channel XXX on the linux-activists
  650. mailing list?
  651.  
  652. ANSWER: just send a mail to the request address with help in the body;
  653. you will get back a mail which gives you the list of channels and the
  654. way to join/leave them. Basically you send mail to the request address
  655. with the line:
  656.    X-Mn-Admin: join <channel>
  657.  
  658.  
  659. QUESTION: How can I leave the channel XXX on the linux-activists
  660. mailing list?
  661.  
  662. ANSWER: Same as above, basically. You send mail to the request address
  663. that contains the line:
  664.    X-Mn-Admin: leave <channel>
  665.  
  666. QUESTION: I'm not an hacker, what are the channels I could be interested
  667. in? 
  668.  
  669. ANSWER: Probably these are the most interesting for you (IMHO)
  670.  
  671.     Channel NORMAL:
  672.     ~~~~~~~~~~~~~~~
  673.  Channel normal is the former Linux-Activists mailing list
  674.  (all the people who were on the old Linux-Activists list
  675.  are moved to this channel).
  676.  
  677.  
  678.     Channel DOC:
  679.     ~~~~~~~~~~~~
  680.  This channel is for Linux document "project". Discussion about Linux
  681.  documents, manuals, papers, etc.  
  682.  
  683.     Channel CONFIGS:
  684.     ~~~~~~~~~~~~~~~~
  685.  This channel will be devoted to send submissions of systems that have
  686.  Linux already running, AND those that, for any reason, can't get it  
  687.  to work yet.
  688.  
  689.  Mainly, what it's need from all the channel users is to send their
  690.  hardware configuration list (as complete as possible). Include
  691.  anything that you feel pertinent for information: CPU,
  692.  motherboard, RAM amount, HD & floppy controller, BIOS, monitor,
  693.  video card & memory, network adapter, etc. If you are having trouble
  694.  with your current system, or you find out that a program doesn't work
  695.  properly on your system due to a HARDWARE problem, it may be useful  
  696.  for us to know your configuration; maybe you can get a lot of help. 
  697.  
  698.     Channel LINUXNEWS:
  699.     ~~~~~~~~~~~~~~~~~~
  700.  The LINUXNEWS channel will be used for distribution of Linux News, a
  701.  weekly (if I can find the time) summary of things that happen in the
  702.  Linux community.  Discussion is not encouraged, if you have complaints
  703.  or suggestions, send them directly to me (Lars.Wirzenius@helsinki.fi).
  704.  
  705.     Channel NEW-CHANNELS:
  706.     ~~~~~~~~~~~~~~~~~~~~~
  707.  On the future users on this channel get the information about new
  708.  channels created. 
  709.  
  710.  By this way you can join the channels you want, and do not need to
  711.  send mail to Mail-Net info server or listen rumours.
  712.  
  713. QUESTION: Does there exist a place where the traffic of the newsgroup
  714. is kept?
  715.  
  716. ANSWER: Yes, on nic and tsx-11 (see the ftp addresses above), and since
  717. 12th March, a Gopher server is up at beryl.daimi.aau.dk (130.225.16.86).  
  718. The archives go back to Nov. 18. 91. Also recently a WAIS server for the
  719. linux mail archive has been setup at fgb1.fgb.mw.tu-muenchen.de. Contact
  720. tw@fgb1.fgb.mw.tu-muenchen.de for more info. 
  721.  
  722. All back issues of the Digest are available on tsx-11.mit.edu
  723. [18.172.1.2] in the following place(s):
  724.  
  725. pub/linux/mail-archive
  726.                      ~/Volume?               /* where '?' in volume #
  727.                               ~/digestnnn.Z   * and nnn is issue #
  728.                                               */
  729.  
  730.  
  731.  
  732. II.B OBTAINING LINUX FROM BBS'S
  733. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  734. *** This section is maintain by Zane Healy (healyzh@holonet.net)
  735. *** Last Update November 1992.
  736.  
  737. QUESTION:  I don't have access to FTP, how can I obtain Linux?
  738.  
  739. ANSWER:  Linux is available from various BBS's around the world.
  740.  
  741. QUESTION:  I got this FAQ from a local BBS, or a friend, and I see there
  742. is a newsgroup called comp.os.linux .  I don't have access to USENET or
  743. mail, so how can I get the messages?
  744.  
  745. ANSWER:  Some of the BBS's on FidoNet carry comp.os.linux as a FidoNet
  746. conference.  Also some of the other BBS's carry it in some form or other.
  747.  
  748. QUESTION:  Do BBS's offer anything that the Internet does not?
  749.  
  750. ANSWER:  Yes, on the information side there are the UNIX conferences on
  751. both the RIME network and FidoNet.  Although they are not dedicated to
  752. linux, a large amount of the messages are linux related.  Also at least
  753. one software package being developed for linux, and also one port is
  754. available via BBS's long before they are available via anonymous FTP. 
  755.  
  756. QUESTION:  What is a BBS?
  757.  
  758. ANSWER: A BBS is a Bulletin Board System, it let's you transfer
  759. message's and file's via your phone line and all you need is a
  760. computer with communications software and a modem.  Some BBS's
  761. transfer message's among each other forming large computer network's
  762. similar to USENET.  The most popular of these in the US are FidoNet
  763. and RIME.
  764.  
  765. QUESTION:  How can I get a (Near) complete list of BBS's that carry Linux?
  766.  
  767. ANSWER:  I (Zane Healy) post a list of all known BBS's that carry Linux
  768. to comp.os.linux as well as the RIME and Fidonet UNIX conferences on the
  769. 1st and 15th of each month.
  770.  
  771. QUESTION:  Now that I have a phone number, how do I go about accessing a
  772. BBS?
  773.  
  774. ANSWER: 
  775.  
  776. 1. You need a computer equipped with communications software and a modem.
  777.  
  778. 2. For ALMOST all BBS's you will need to set the comm software up for:
  779.     8 - Data Bits
  780.     N - Parity
  781.     1 - Stop Bit
  782.  
  783.    Although certain BBS's and Communication services require that the 
  784. software be set for:
  785.     7 - Data Bits
  786.     E - Parity
  787.     1 - Stop Bit
  788.    
  789.    You will also need to set the comm software for the correct speed,
  790. either the top speed, or the max speed for your modem.
  791.  
  792. 3. Using the comm software, call the BBS.  Once you connect with the
  793. BBS (this may take awhile, as other people are likely to be using it),
  794. you will be asked some questions.
  795.    If you are a registered user of the BBS it will normally only ask
  796. for your name and password.  However if you are not a registered user,
  797. it will most likely require that before you do anything, you register.
  798. The method of registration varies from BBS to BBS.
  799.    Normally the first thing that will happen is, you sign on to the
  800. BBS, and tell it your name.  It will then check it's list of user's
  801. and see that you are not one of them.  At which time it will ask you
  802. if you are a new user, or if you wish to re-enter your name.  When you
  803. tell it you are a new user, it will then ask you some questions about
  804. yourself, such as where you are calling from and your phone number.  A
  805. lot of BBS's will want some statistical info such as what type of
  806. computer you are using, your communications software, your age, etc,
  807. etc.
  808.    After this, most BBS's require some sort of validation, this is for
  809. the System Operator's (SysOp's) protection.  One type is where you
  810. give the BBS software your phone number, hang up, and the BBS calls
  811. your computer to verify that you gave it legitament phone number.
  812. Some BBS's require that you mail the SysOp a postcard.  Most, however
  813. just require that you give the SysOp the request info and then he
  814. upgrades your level of access a couple of day's later.
  815.    For the most part you will find that the registration process is
  816. easy to follow and well documented.
  817.  
  818. QUESTION:  There is a local BBS that carries Linux, but it isn't on the
  819. latest Linux BBS List.  How do I go about submitting it for inclusion in
  820. the list? 
  821.  
  822. ANSWER:  Send the following information on the BBS to me:
  823.  
  824.                                            BBS Name:
  825.                                        Phone Number:
  826.                                         Modem Speed:
  827.                              City and State/Country:
  828. Whatever Network it's on (i.e. FidoNet, RIME, etc.):
  829.          First Time access to D/L Linux Files (Y/N):
  830.                    Free Access to Linux Files (Y/N):
  831.                           Allow File Requests (Y/N):
  832.                                    BBS Rating (1-5):
  833.  
  834. I can be reached at one of the following E-Mail Addresses:
  835.              Internet -- healyzh@holonet.net
  836.            CompuServe -- 70332,14
  837.               Prodigy -- SCNN49A
  838.          Fido NetMail -- Zane Healy at 1:109/615
  839.  RIME UNIX Conference -- Zane Healy
  840.  
  841. QUESTION:  What can I do to help ensure the continued development of
  842. Linux?
  843.  
  844. ANSWER:  PLEASE UPLOAD FILES TO BBS'S
  845.  
  846.    I would like to point out that a very large number of the Linux
  847. enthusiasts don't have FTP access.  In fact it is possible that by now
  848. most of the Linux fan's don't.  So I would like to suggest that those of
  849. us that do, find at least one BBS to post the Linux file's to.  I, for
  850. one post every file that I get to at least one of the local BBS's, and
  851. from there they the file's tend to find there way to other local BBS's.
  852. I've seen posts about the future of Linux etc., well here is a way to
  853. help guarantee it.  I think it's safe to assume that most people with FTP
  854. access also have a modem.  So how about doing other Linux fan's a favor
  855. and finding a BBS to upload the Linux files to.
  856.  
  857. QUESTION:  How do I read the data contained in the Linux BBS List?
  858.  
  859. ANSWER:  The list uses the following format:
  860.  
  861. State   YYY  BBS Name                Phone Number    Modem Speed
  862. Rating       City                    Other data
  863.  
  864. The BBS's are rated by the number of Linux related file's that they
  865. carry.  This is so you can choose one's that has a better chance of
  866. carrying the file's you are looking for if you are calling long distance.
  867. The BBS's are rated on a scale of one to five.
  868.  
  869.   1 -- Only enough the most basic of files
  870.   2 -- The basics and a little more
  871.   3 -- So, so
  872.   4 -- A respectable amount
  873.   5 -- Pretty much everything you need
  874.  
  875. Information about the boards access policies can be obtained by
  876. checking a three digit field.
  877.  
  878.   YYY -- Either a Yes/No/? answer to the question
  879.   |||
  880.   ||Free access to Linux files
  881.   |Allow file requests (FidoNet)
  882.   First time D/L of Linux related files
  883.  
  884. NOTE: Just because a board has N's in the first two fields does not
  885. mean that it is a board to stay away from.  A lot of boards require
  886. that you register and be verified before you can access most of their
  887. features, hence the first N.  The second field is, to the best of my
  888. knowledge, limited to BBS's that are part of FidoNet.
  889.    
  890. QUESTION:  What are some of the best BBS's to check out?
  891.  
  892. ANSWER:            
  893.  
  894. In the US:
  895.  
  896. CA  YNY hip-hop                 408-773-0768 14.4k V.32bis/HST
  897.   5     Sunnyvale               Login: guest (no password)
  898. DC  NNY When Gravity Fails      202-686-9086    14.4k
  899.   5     Washington
  900. FL  ??? Slut Club               813-236-1232    14.4k
  901.   5     Tampa/St.Pete           Fidonet 1:377/42
  902. GA  YYY Information Overload    404-471-1549    9600 HST 
  903.   5                             FidoNet 1:133/308
  904. ID  ??? Rebel BBS               208-887-3937    9600
  905.   5     Boise
  906. IL  YYY EchoMania BBS           618-233-1659    14.4k HST
  907.   3     Belleville              Fido 1:2250/1  (f'reg LINUX)
  908.         F'reqs from unlisted nodes, online callback verifier (works L.D.)
  909. MD  ??? Brodmann's Place        301-843-5732    14.4k
  910.   5     Waldorf                 RIME ->BRODMANN
  911. NC  ??? MAC's Place             919-891-1111   DS modem 
  912.   5     Dunn                    RIME ->MAC
  913. NY  YYY Prism BBS,Middleton     914-344-0350    9600 HST/v.32   
  914.   5     Middletown, NY          Fidonet 1:272/38
  915. NY  YYY The Laboratory          212-927-4980    16.8k HST, 14.4k v.32bis
  916.   3-4                           FidoNet 1:278/707
  917. OR  YYY Intermittent Connection 503-344-9838    14.4k HST v.32bis   
  918.   5     Eugene, Ore             1:152/35
  919. TX  YYY Advanced BBS            512-578-2720    9600    
  920.   5     Victoria, TX            Fidonet 1:3802/215
  921. VA  ??? VTBBS                   703-231-7498
  922.   5     Blacksburg
  923. WA  YYY S'Qually Holler         206-235-0270    9600 
  924.   5     Renton                  Fidonet 1:343/34
  925.  
  926. And here are all the known BBS's outside the US:
  927.  
  928. AUSTRALIA:
  929. NSW YYN Linux-Support-Oz        +61-2-418-8750         2400
  930.   2-3   Sydney                  Intlnet, SBCNet
  931. ?   ??? 500cc Formula 1 BBS     +61-2-550-4317 V.32
  932.   ? (2-3) 
  933. CANADA:
  934. ON  ??? EX-10 Kitchner         519-725-4400
  935.   ?
  936. ON  ??? Ned's Ottawa           613-739-1591
  937.   2
  938. ON  ??? Bytown                 613-236-1232 
  939.   2                             SmartNet
  940. PQ  ??? Synapse                819-246-2344  819-561-5268
  941.   5     Gatineau               RIME->SYNAPSE
  942. GERMANY:
  943.     ??? bakunin.north.de        00 49 421 870532        9600
  944.   ?     D 2800 Bremen           kraehe@bakunin.north.de
  945.     ??? ??????????????          +49-40-735-5349         14.4k
  946.   1
  947.     ??? Hipposoft's Mail Server +49-241-875090          14.4k V.32bis/HST
  948.   3     D-W5100 Aachen          Fidonet 2:242/6
  949. IRELAND:
  950.     ??? TOPPSI                  +353-1-711047 or 773547 9600
  951.   ?                             Fidonet 2:263/151
  952. NORWAY:   
  953.     ??? Thunderball Cave        472567018     
  954.   ?                             RIME ->CAVE ?
  955. NETHERLANDS:
  956.     ??? DownTown BBS Lelystad, Linux Support BBS        14.4k
  957.   ?                             +31-3200-48852 FIDONET
  958. SOUTH AFRICA:
  959.     ??? Andre Skarzynski - Linux Activists of Southern Africa
  960.   ?     +27 2231 78148 (Is this voice or data?)
  961. UNITED KINGDOM:
  962.     NYN The Purple Tentacle     +44-734-590990          HST/V32bis
  963.   3-4   Reading                 Fidonet 2:252/305 
  964.     ??? A6 BBS                  +44-582-460273          14.4k
  965.   ?     Herts                   Fidonet 2:440/111
  966.  
  967.  
  968. QUESTION: What are File Requests?
  969.  
  970. ANSWER: FidoNet BBS's with the right type's of front-end mailer's can
  971. call other Fido BBS's and request their front-end mailer to send them
  972. files that they want.  All this can be done automatically.  File
  973. Requests (freqs) are basically the FidoNet equivallent to UUCP.
  974.  
  975.  
  976. III. INSTALLATION, SETUP, and COMMON PROBLEMS
  977. =============================================
  978. *** Note: this FAQ section should be kept up-to-date, and should
  979. *** be the most 'reliable' source for installation info. Please mail
  980. *** any corrections or changes to this section's coordinator, 
  981. *** Matt Welsh (mdw@tc.cornell.edu). Last update 9 Feb 93.
  982.  
  983. III.A. WHERE TO START: What are the reliable sources of information
  984. III.B. LINUX PACKAGES: Where and how install a complete Linux package
  985. III.C. SOME COMMON PROBLEMS: Simple problems and simple solutions
  986.  
  987. III.A. WHERE TO START
  988. ~~~~~~~~~~~~~~~~~~~~~
  989.  
  990. QUESTION: I want to install Linux on my machine. Where do I start?
  991.  
  992. ANSWER: The first thing you should do is read through the various
  993. introductory files, and ESPECIALLY the FAQ (this file). Especially
  994. this section :). A lot of effort has been done on these intro files,
  995. but note that some of them conflict with each other and cover older
  996. versions of Linux. When in doubt consult this file.
  997.  
  998. These files are all found on tsx-11.mit.edu:/pub/linux/docs...
  999.  
  1000.   FAQ
  1001.   The Linux Frequently Asked Questions list
  1002.     It's sitting in your hands now. This section is probably the best
  1003.     place to start to get the most up-to-date Linux installation
  1004.     information.
  1005.  
  1006.   INFO-SHEET 
  1007.   Linux Information Sheet, by J. Winstead/L. Wizenius
  1008.     This is a collection of general info about Linux. It's
  1009.     a good place to start if you've never heard of the package
  1010.     before.
  1011.   
  1012.   README.kernel
  1013.   Kernel compilation README file, by L. Wirzenius
  1014.     This is the README notes for recompiling the Linux kernel from the
  1015.     sources. You don't need it unless you're planning to upgrade
  1016.     your kernel by compiling it yourself.
  1017.  
  1018.   Others
  1019.     Every "release" of Linux (such as SLS, boot/root, HLU's disks, etc.,
  1020.     see below) has its own up-to-date README files and docs that explain
  1021.     how to install that release. This FAQ section summarizes, but for more
  1022.     info on how to install Linux, read the READMEs and docs for the release 
  1023.     that you choose.
  1024.  
  1025.   Old docs
  1026.     There are a number of obsolete, old docs lying around. Most of these
  1027.     tell how to install Linux from the old boot/root disk combo. I DO NOT
  1028.     SUGGEST that you use these docs unless you know what you're doing--
  1029.     the best thing for beginners to do is read this FAQ and install the SLS
  1030.     release (using the docs and READMEs for the SLS release). 
  1031.     These old docs are things like "install.txt", "guide.txt", "RELNOTES",
  1032.     "CHANGES", and so on, and are all geared towards old versions of the
  1033.     boot/rootdisk. They are *NOT* relevant to current versions of Linux.
  1034.  
  1035.  
  1036. QUESTION: Is there some kind of limit on how large my Linux partitions
  1037. and/or filesystems can be?
  1038.  
  1039. ANSWER: There's no limit on partition size (just the size of your drive),
  1040. but Linux mainly uses the minix filesystem which limits filesystems to
  1041. 64 megs each. You can also use the extended filesystem (which is still
  1042. in testing, but has been included with recent kernel versions) which has
  1043. a limit of 4 terabytes. Probably enough unless you have a disk array. :) 
  1044.  
  1045. See section III.C below on creating partitions and filesystems for more info.
  1046.  
  1047.  
  1048. III.B. LINUX PACKAGES
  1049. ~~~~~~~~~~~~~~~~~~~~~
  1050. This section contains information about *SOME* of the current Linux
  1051. packages  available. 
  1052.  
  1053. QUESTION: Does there exist a way to get all (or nearly all) of the Linux
  1054. stuff?
  1055.  
  1056. ANSWER: Yes. To install Linux, you're going to want to choose one of the
  1057. "releases" of Linux, all of which have a different method of installation
  1058. and set up. Each release also has its own README and installation docs,
  1059. which you'll want to read first. But I'll summarize here. The major
  1060. releases are:
  1061.    
  1062.    * The "Softlanding Linux System Release"
  1063.      Also known as the "SLS" release, consists of 14 disks for Linux
  1064.      and 8 for X11. The nice thing about this release is that you can
  1065.      pick and choose which disks and packages you want to install. The
  1066.      first 2 disks must be "rawritten" (using rawrite.exe) on floppies,
  1067.      and the rest of the images are put onto DOS format floppies. 
  1068.      Contains all of the softs you'll ever need, and is easy to install
  1069.      for newcomers.
  1070.  
  1071.      This is the release that I suggest everyone new to Linux should
  1072.      install. It's the most complete and up-to-date package. HLU's
  1073.      disks, below, are good for upgrading, and (unfortunately),
  1074.      the MCC-interim is quite dated at this point. If you install
  1075.      SLS you'll save yourself a lot of trouble.
  1076.  
  1077.    * The "TAMU" (Texas A&M University) Linux Release
  1078.      This release is supposedly like the SLS release, but has some
  1079.      different softs and a different installation procedure. From Dave
  1080.      Safford, "The installation procedure is the main difference from
  1081.      SLS. A single boot diskette is used, and it boots directly into
  1082.      an automated installation program." This installation program
  1083.      asks a few questions about the desired configuration, and sets up
  1084.      everything, including your filesystems, booting from the hard
  1085.      drive with LILO (see section III.C below), and a simplified
  1086.      X-Windows configuration. 
  1087.  
  1088.      This humble author has never installed the TAMU release but I've
  1089.      heard good things about it. 
  1090.  
  1091.    * H.J. Lu's "bootable rootdisk"
  1092.      This is a release of the Linux kernel and basic binaries on
  1093.      a single floppy. It, along with HLU's 'gccdisk', 'libdisk',
  1094.      and so on, are good for upgrading or installing basic
  1095.      Linux system by hand. It's not reccommended for newcomers,
  1096.      because there's no real install script, it's mostly meant
  1097.      as an upgrade of the basic system software. Beginners should
  1098.      install SLS or MCC-interim (see below) instead.
  1099.      The images and docs are found at tsx-11.mit.edu:/pub/linux.
  1100.  
  1101.    * Others but OUTDATED
  1102.      There are other releases and distributions of the Linux software,
  1103.      such as the "MCC-Interim" and "MJ" releases. There is also an older
  1104.      "boot/root" disk combo (0.98.1) which is like HLU's bootable
  1105.      rootdisk, above, but it's no longer supported (as far as I know).
  1106.  
  1107.      The MCC-Interim release (the previous de facto Linux standard)
  1108.      isn't going to be updated anymore, according to Owen LeBlanc. So
  1109.      if you install it, be warned that you'll have to upgrade it all
  1110.      in some other way (the last version of MCC-Interim was 0.97.2,
  1111.      quite dated). 
  1112.  
  1113.      The "MJ" release, according to Martin Junius, is no longer
  1114.      maintained. The last version was 0.97.1.
  1115.  
  1116. QUESTION: Where can I get these versions of Linux?
  1117.  
  1118. ANSWER: 
  1119.  
  1120. The SLS release is at tsx-11.mit.edu:/pub/linux/packages/SLS and
  1121. sunsite.unc.edu:/pub/Linux/SLS.
  1122.  
  1123. H.J. Lu's "bootable rootdisk" release is found at tsx-11.mit.edu:
  1124. /pub/linux/packages/GCC, as well as the mirror sites.
  1125.  
  1126. TAMU.99p4 is available from sc.tamu.edu in pub/free_unix/TAMU.99p4.
  1127.  
  1128.  
  1129. QUESTION: What should I do to install the SLS release?
  1130.  
  1131. ANSWER: Basically all of the releases are alike. You need to get the
  1132. DOS program 'rawrite.exe' (or 'rawrite2.exe'). This program takes a
  1133. binary file and writes it, block by block, to a blank formatted
  1134. floppy. This is the way to take a Linux floppy image and put it onto a
  1135. disk from DOS.
  1136.  
  1137. For the SLS release, you need to get the files in the a1, a2, a3, and
  1138. a4 directories at least. You also need the README's there. Basically,
  1139. you use rawrite to copy the a1 and a2 images onto floppies.  Or, you
  1140. can use 'dd' on your UNIX system to transfer the files directly to
  1141. floppies (assuming you have a floppy drive on your UNIX system) in
  1142. place of rawrite.
  1143.  
  1144. The rest of the files all go onto DOS-formatted floppies, just using
  1145. DOS copy. The SLS release is nice because it reads the DOS floppies
  1146. during installation, so you don't have to rawrite all of those disks.
  1147.  
  1148. Once you have these 4 disks, you're ready to go. You can also get all
  1149. of the files in the b1-b7 directories (for extras, like man pages and
  1150. emacs), c1-c4 directories (for the GCC compiler and libraries), the
  1151. x1-x8 directories (for Xwindows), and so on, but they're all optional.
  1152. I suggest at least getting the files in the a, b, and c directories.
  1153. Remember that only the a1 and a2 images need to be rawritten, ALL of
  1154. the other files just do onto the floppies in DOS format.
  1155.  
  1156. First you boot the a1 disk. It will load up Linux, and will ask you to
  1157. put in the a2 disk at some point. You'll be left with a prompt... from
  1158. here you want to look at the SLS README file on-line (it tells you
  1159. how).  Then you'll run 'fdisk' to create your Linux partition(s), and
  1160. then reboot the a1 disk again (putting in the a2 disk, again, when
  1161. asked). Then you'll run 'mkfs' and 'mkswap' to make your filesystems
  1162. and swap space. Then you're ready to install the software-- type
  1163.     doinstall /dev/PART 
  1164.  
  1165. where PART is the main Linux partition you created with fdisk, above.
  1166. >From here on it's pretty automatic-- you simply flip disks while it
  1167. installs the software. First it will ask you how much software you
  1168. plan to install-- just choose the correct option depending on which
  1169. sets of disks you got.
  1170.  
  1171. You will need to have a blank DOS-formatted floppy on hand. The
  1172. installation procedure makes a Linux kernel boot disk out of it.
  1173.  
  1174. QUESTION: What's about SLS ?
  1175.  
  1176. ANSWER: (this is part of the FAQ written for SLS 0.98p5 by Peter
  1177. MacDonald).
  1178. SLS (Softlanding Linux System) Copyright 1992, Softlanding Software.
  1179.  
  1180. which is NOT just an image dump of someones Unix system.
  1181.  
  1182. Also note that in the interest of preventing ftp storms, the version
  1183. of SLS that appears on the internet, is not quite the same as the
  1184. version distributed by Softlanding.   Softlanding regularly gets a
  1185. whole new version which has the changes integrated.   But the updates
  1186. to the Internet version are tailored to minimize the amount that has
  1187. to be downloaded to become current.  That is why bugs manage to creep
  1188. in on me.  I am not installing and testing the Internet version, 
  1189. although, functionally, it should be quite close to the Softlanding
  1190. one.  
  1191.  
  1192. So, why am I telling you this?  After the next period of stability
  1193. (few changes to SLS), I will be uploading the Softlanding version of
  1194. SLS to tsx-11.mit.edu.
  1195.  
  1196. This distribution is freely available if you have internet 
  1197. access, or an obliging friend with access to it.
  1198.  
  1199. The purposes of the SLS are the following:
  1200. 0) provide an initial installation program (for the queasy).
  1201. 1) utilities compiled to use minimal disk space.
  1202. 2) provide a reasonably complete/integrated U*ix system.
  1203. 3) provide a means to install and uninstall packages.
  1204. 4) permit partial installations for small disk configs.
  1205. 5) add a menu driven, extensible system administration.
  1206. 6) take the hassle out of collecting and setting up a system.
  1207. 7) give non internet users access to Linux.
  1208. 8) provide a distribution that can be easily updated.
  1209.  
  1210. SLS is a binary mostly distribution (except for the kernel), and is
  1211. broken into multiple parts, or series, each of which is denoted by a
  1212. letter followed by the disk number as follows:
  1213.  
  1214.         a1-aN: The minimal base system
  1215.         b1-bN: Base system extras, like man pages, emacs etc.
  1216.         c1-cN: The compiler(s), gcc/g++/p2c/f2c
  1217.         x1-xN: The X-windows distribution
  1218.         i1-iN: Interviews (doc and idraw)
  1219.         t1-tN: TeX (document processing)
  1220.  
  1221. This scheme allows new disks to be added to the distribution without
  1222. changing the disk numbering.  Also, the sysinstall program doesn't
  1223. have to be changed when new disks are added as the last disk is marked
  1224. by the presence of the file "install.end".  And when interviews is
  1225. added, say as a new series "i", it can be installed with: 
  1226.  
  1227.         sysinstall -series i
  1228.  
  1229. Highlights of the base are:  gcc/g++, emacs, kermit, elm/mail/uucp,
  1230. gdb, sc (spreadsheet), man pages, groff, elvis, zip/zoo/lh and menu.
  1231. Highlights of X are: X, programmers libs, 75 dpi fonts, games (spider,
  1232. tetris, xvier, chess, othello, xeyes, etc) and utilities like xmag,
  1233. xmenu, xcolormap and ghostscript.  Approximate usage is as follows: 
  1234.  
  1235. Tiny base system:        9 Meg  (Series 'a')
  1236. Main base system:       25 Meg  (Series 'a', 'b' and 'c')
  1237. Main base system + X11: 45 Meg  (Series 'a', 'b', 'c' and 'x')
  1238.  
  1239. Please read the file COPYING which outlines the GNU copying 
  1240. restrictions.  The linux kernel is copywrite Linux B. Torvalds.
  1241. Various other copywrites apply, but the upshot is that you
  1242. may do whatever you like with SLS, except restrict others
  1243. in any way from doing likewise, and you must leave all copywrites
  1244. intact, and you can not misrepresent or take credit for others work.
  1245.  
  1246.                 AVAILABILITY
  1247.  
  1248. SLS is available from the address: 
  1249.  
  1250.         Softlanding Software               
  1251.         910 Lodge Ave. 
  1252.         Victoria, B.C., Canada             
  1253.         V8X-3A8            
  1254.         (604) 360-0188
  1255.  
  1256. More details about SLS can be asked to pmacdona@sanjuan.uvic.ca
  1257.  
  1258.  
  1259. QUESTION: What should I get to install the bootdisk/rootdisk combo
  1260. release? 
  1261.  
  1262. ANSWER: Essentially it's a lot like the SLS installation, above. You
  1263. get the boot disk and root disk, and use rawrite to transfer them to
  1264. floppies.  Then you boot the boot disk, and put in the root disk when
  1265. asked. At this point you login as 'install' to install the software.
  1266.  
  1267.  
  1268. QUESTION: How do I get and install H.J. Lu's "bootable rootdisk" release?
  1269.  
  1270. ANSWER: It's just like the boot/root disk and the SLS release. Just
  1271. get the bootroot disk image and use rawrite to transfer it to a
  1272. floppy, and then boot it. You'll probably want to get the 'gccdisk'
  1273. and 'libdisk', etc.  images and rawrite them to floppies as well. Note
  1274. that this release doesn't have a user-friendly installation script,
  1275. it's meant mostly to upgrade or install the system by hand. Unless
  1276. you're familiar with Linux this may prove difficult. :)
  1277.  
  1278.  
  1279. QUESTION: What is the MCC interim version of Linux?
  1280.  
  1281. ANSWER: The MCC-Interim release of Linux was put together by Owen
  1282. LeBlanc of the Manchester Computing Centre. Unfortunately, it's quite
  1283. dated, and isn't going to be updated anymore. :(
  1284.  
  1285.  
  1286.  
  1287. III.C. SOME COMMON PROBLEMS
  1288. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1289.  
  1290. QUESTION: How do I make partitions and/or filesystems for Linux?
  1291.  
  1292. ANSWER: For most Linux installations (such as SLS) you'll need at
  1293. least two partitions: one for swap space (used as virtual memory) and
  1294. another for your "root filesystem" (that is, the actual Linux software
  1295. itself).  You can also make seperate partitions for your /usr
  1296. filesystem, etc. (however, the SLS doinstall program, at this point,
  1297. mounts your root filesystem for you before installing, thus, you can't
  1298. have a seperate /usr filesystem to start out with).
  1299.  
  1300. But that's beside the point. First thing you need to do is resize the
  1301. existing partitions on your drive (if any) to make space for Linux;
  1302. for example, if you have a DOS partition taking up all of your drive,
  1303. you need to use FDISK under MS-DOS to delete it and recreate it with a
  1304. smaller size.  Of course, in so doing you'll lose everything on that
  1305. DOS partition-- just back it up first and reinstall after you've
  1306. recreated and reformatted the partition. That's life! :)
  1307.  
  1308. Now you can boot up Linux (say, from SLS, or from the boot/root disks). 
  1309. >From there you run 'fdisk' to create your partitions: it's very self-
  1310. explanatory. If you make a swap partition you need to change it's type
  1311. to "Linux swap" with the fdisk 't' command. 
  1312.  
  1313. And, if you want a Linux partition larger than 64 megabytes, you'll
  1314. need to use the extended filesystem (as opposed to the default, the
  1315. Minix filesystem).  The extended filesystem ("extfs" for short) has a
  1316. 4 terabyte size limit (and lets you have filenames longer than 14
  1317. characters). If you want to use it just set the type of the partition
  1318. to "Linux extfs" with the fdisk 't' command.
  1319.  
  1320. NOTE: "Extended filesystem" does NOT equal "extended partition". An
  1321. extended partition acts as a "container" for logical partitions, which
  1322. is nice because you can have many logical partitions inside the
  1323. extended partition, and only use up one of your four available primary
  1324. partitions on the drive.  (You can have only one extended partition
  1325. per drive). Extended partition can't hold data on their own: you need
  1326. to create logical partitions on top of it first. They are numbered
  1327. /dev/hda5, /dev/hda6, and so on.
  1328.  
  1329. The extended FILESYSTEM on the other hand has nothing to do with
  1330. extended partitions. It's just the name of another filesystem used by
  1331. Linux which lets you have larger filesystem sizes and other features.
  1332.  
  1333. Once you've got your partitions created, you need to reboot the system
  1334. so that changes to your partition table are picked up. Then you need
  1335. to 'format' the partitions (i.e. create filesystems on them). For your
  1336. swap partition, use the command 'mkswap <partition> <size>'. For
  1337. example, if you have a swap partition on /dev/hda2 with a size of 8208
  1338. blocks (about 8 megs), use the command
  1339.     mkswap /dev/hda2 8208
  1340.  
  1341. If you have a partition set up for a Minix filesystem (the default
  1342. type) use the command 'mkfs <partition> <size>'. If however you're
  1343. going to use the extended filesystem (a must for partitions over 64
  1344. megs) use the command 'mkefs <partition> <size>'.
  1345.  
  1346.  
  1347. QUESTION: Linux mkfs doesn't accept the size I give the device,
  1348. although I double-checked with fdisk, and it's correct.
  1349.  
  1350. ANSWER: Be sure you give the size in Linux BLOCKS (1024 bytes), not
  1351. sectors. Also make sure that you have the right partition: partitions
  1352. are numbered "/dev/hda1", "/dev/hda2", and so on (and "/dev/hdb1",
  1353. "/dev/hdb2" for the second hard drive)... DON'T use "/dev/hda" or
  1354. "/dev/hdb" as they correspond to the entire disk, not just single
  1355. partitions.
  1356.  
  1357. Also remember that SCSI drives use /dev/sda1, /dev/sda2... and
  1358. /dev/sdb1, /dev/sdb2, and so on for their partitions.
  1359.  
  1360.  
  1361. QUESTION: How can I get mkfs/mkefs to check for bad blocks?
  1362.  
  1363. ANSWER: Unfortunately the -c option on mk(e)fs does not work; it
  1364. cannot detect bad blocks on the drive, and thus if you create a
  1365. filesystem over a part of your hard drive with bad blocks, things will
  1366. eventually go wrong. So you need to generate a bad block list (in a
  1367. file) and use the -l option on mk(e)fs so it will flag those blocks
  1368. when making a filesystem.
  1369.  
  1370. NOTE: This is only needed for older RLL and MFM drives. SCSI and IDE 
  1371. drives have bad block logic on-board.
  1372.  
  1373. Generating a bad block list for mk(e)fs
  1374. =======================================
  1375. Nov 11, 1992  Gerhard Kircher   (kircher@neuro.tuwien.ac.at)
  1376.  
  1377. Introduction
  1378.  ------------ 
  1379. First of all: the -c option (check bad
  1380. blocks) of mk(e)fs does not work (the code used cannot detect any bad
  1381. blocks).  Fortunately there is another option -l <file> to tell
  1382. mk(e)fs where the bad blocks are.  SCSI and IDE drive users do not
  1383. need any bad block management - the drive logic does it for them.
  1384. However, users of old MFM or RLL drives do need it.
  1385.  
  1386. 1 Where are my bad blocks ?  
  1387. --------------------------- 
  1388. Every MFM or RLL drive is tested by the manufacturer and the locations
  1389. of bad blocks are usually printed directly on the drive case.  If you
  1390. cannot find any bad block information on your drive, you can use the
  1391. common disk test software (Norton,...) to check your drive and obtain
  1392. a defect list.
  1393.  
  1394. Locations of bad blocks are given in terms of cylinder and head
  1395. coordinates.  Cylinder and head together specify a certain track. Some
  1396. manufacturers are more specific about the location of the bad spot
  1397. within the track but if you know how to use this information you
  1398. probably do not need to read this guide.  So if we know the track
  1399. where the bad spot sits, we declare the entire track as bad (even
  1400. experts do this).
  1401.  
  1402. What we have now is a table of the form
  1403.  
  1404.   CYLINDER  HEAD
  1405.   ...       ...
  1406.   ...       ...
  1407.   ...       ...
  1408.  
  1409.  
  1410. 2 calculating all bad sectors
  1411. -----------------------------
  1412. Each sector on the drive can be addressed by three cordinates:
  1413.   Cylinder = [0..CYLINDERS-1]
  1414.   Head     = [0..HEADS-1]
  1415.   Sector   = [0..SECTORS-1]
  1416. where
  1417.   CYLINDERS ... total number of cylinders
  1418.   HEADS     ... total number of heads
  1419.   SECTORS   ... number of sectors per track
  1420.  
  1421. The absolute address of a sector on the disk is then calculated
  1422. according to the formula
  1423.  
  1424.   Abssector = HEADS*SECTORS*Cylinder + SECTORS*Head + Sector.
  1425.  
  1426. We can now calculate the absolute addresses of all sectors
  1427. of every bad track on our disk according to
  1428.  
  1429.   for each bad track given by Cylinder and Head do
  1430.   begin
  1431.     for Sector=0 to SECTORS-1 do
  1432.     begin
  1433.       Abssector = HEADS*SECTORS*Cylinder + SECTORS*Head + Sector
  1434.     end
  1435.   end
  1436.  
  1437. obtaining a list of all bad sectors.
  1438.  
  1439.  
  1440. 3 Converting absolute sectors to partition relative sectors
  1441. -----------------------------------------------------------
  1442. Partitions are like separate disks, that means that sector counting
  1443. starts with 0 for each partition. So what we have to do next is to
  1444. generate a bad sector list for each partition we want to use for
  1445. linux. To do that, we must know where each partition starts and ends.
  1446. We can get this information from fdisk. When we start fdisk and type
  1447. 'p' to view the partition table, the begin, start and end information
  1448. will be given in terms of cylinders.  When we type 'u' to toggle the
  1449. units, an then again 'p' we get what we need: Start and End of each
  1450. partition in terms of absolute sectors.  Here is what I see on my
  1451. system (I use my second disk for linux):
  1452.  
  1453.     # fdisk /dev/hdb
  1454.  
  1455.     Command (m for help): p
  1456.  
  1457.     Disk /dev/hdb: 8 heads, 17 sectors, 1024 cylinders
  1458.     Units = cylinders of 136 * 512 bytes
  1459.  
  1460.        Device Boot  Begin   Start     End  Blocks   Id  System
  1461.     /dev/hdb1           1       1     963   65483+  81  Linux/MINIX
  1462.     /dev/hdb2         964     964    1024    4148   82  Linux swap
  1463.  
  1464.     Command (m for help): u
  1465.     Changing display/entry units to sectors
  1466.  
  1467.     Command (m for help): p
  1468.  
  1469.     Disk /dev/hdb: 8 heads, 17 sectors, 1024 cylinders
  1470.     Units = sectors of 1 * 512 bytes
  1471.  
  1472.        Device Boot  Begin   Start     End  Blocks   Id  System
  1473.     /dev/hdb1           1       1  130967   65483+  81  Linux/MINIX
  1474.     /dev/hdb2      130968  130968  139263    4148   82  Linux swap
  1475.  
  1476. Sector counting (as counting always should do :-) starts with 0.
  1477. The first partition begins with sector one, as sector 0 is
  1478. always the boot sector.
  1479.  
  1480. This is how we calculate the addresses for one partition:
  1481.  
  1482.   a) From the list obtained in section 2, cancel all addresses
  1483.      that are not in the range [Start..End] (including limits)
  1484.      shown by fdisk.
  1485.   b) Subtract Start from each remaining entry.
  1486.  
  1487.  
  1488. 4 Converting to blocks
  1489. ----------------------
  1490. A disk sector has a length of 512 bytes (this is the usual size
  1491. BIOS/DOS can handle). Linux groups two sectors to an entity called
  1492. block. A block therefore consists of two physical sectors and has a
  1493. size of 1024 bytes (I read somewhere that larger blocks will be
  1494. supported in the future). The mk(e)fs program wants to know the
  1495. addresses of bad blocks, not sectors. So we convert our partition
  1496. relatve sector addresses to partition relative block addresses by
  1497. dividing by two and taking the integer part. Doing that we certainly
  1498. get a lot of duplicate addresses which we have to get rid of, so we
  1499. simply delete redundant entries.
  1500.  
  1501. What we have now is a list of bad blocks for each partition.  Mk(e)fs
  1502. likes to get this information from a file, one address per line, one
  1503. file for each partition.
  1504.  
  1505.  
  1506. 5 Automating the process
  1507. ------------------------
  1508. Doing all the calculations by hand is tedious and error prone.
  1509. So we may decide to automate the whole thing.
  1510. We can do everything in dos when we use the proper utilities
  1511. (see later)
  1512.  
  1513. 5.1 The Input File
  1514.  
  1515. We need a single file containing the coordinates of all bad tracks of
  1516. one entire disk. Each line of the file consists of two fields, the
  1517. first of which is the cylinder number and the second is the head
  1518. number. These are the first few lines of the file for my second disk:
  1519.  
  1520.     48 0
  1521.    105 4
  1522.    150 2
  1523.    224 1
  1524.    380 2
  1525.    427 6
  1526.    435 1
  1527.  
  1528.  
  1529. 5.2 An AWK script for doing all the calculations
  1530.  
  1531. In the following we present an awk script that does all the work for
  1532. us. We just have to plug in the correct values of the partition and
  1533. drive parameters and off we go.  I use gawk211.zip and sort03.arc
  1534. which I downloaded from a simtel20 mirror.  Sort is used to remove the
  1535. duplicates.
  1536.  
  1537. #---the awk script starts here
  1538. # generates linux bad blocks file (starting count with 0)
  1539. # for partition ONE
  1540. # for micropolis drive 8 heads, 17 sectors
  1541. # input file: cyl[0.. ] head[0.. ]\n
  1542. # stdout: abs blocks of corresponding partition\n
  1543. BEGIN { start   = 1;
  1544.         end     = 130967;
  1545.         sectors = 17;
  1546.         heads   = 8;
  1547.       }
  1548. { sec=$1*sectors*heads+$2*sectors;
  1549.   if (sec>=start && sec<=end)
  1550.     for (i=0; i<sectors; i++) print int((sec-start+i)/2) | "sort -mu"
  1551. }
  1552. #---the awk script ends here
  1553.  
  1554. Suppose that our input file is named 'badtrack.lst' and that the awk
  1555. file is 'part1.awk', then we can generate a bad block list for mk(e)fs
  1556. by typing the command
  1557.  
  1558.   gawk -f part1.awk badtrack.lst > badblk1.lst
  1559.  
  1560. This is the file we need. 
  1561.  
  1562. 5.3 Making the file system
  1563.  
  1564. What we must do now is to have this file accessible for linux during
  1565. installation. There are several ways to do this. You can either mount
  1566. your DOS partition and copy the file over to Linux, or use mtools (as
  1567. in 'mcopy c:badblk1.lst /user/badblocks').
  1568.  
  1569. Now we can make the file system. In this case the bad blocks file is
  1570. in /user/badblocks, and the partition we're making a filesystem on is
  1571. /dev/hdb1.  We're making an extended filesystem with a size of 65483
  1572. blocks:
  1573.  
  1574.   mkefs -l /user/badblocks /dev/hdb1 65483
  1575.  
  1576. Thats it!
  1577.  
  1578.  
  1579. Bugs
  1580. ----
  1581. I only tried mkfs but I'm rather convinced that it works with
  1582. mkefs as well.
  1583.  
  1584.  
  1585. QUESTION: How can I boot Linux off of my hard drive? 
  1586.  
  1587. ANSWER: You need to install the "LILO" program which changes the boot
  1588. sector of your hard drive to allow you to choose between a DOS or a
  1589. Linux partition to boot from. These programs are provided with most
  1590. major releases, or you can get them seperately from one of the FTP
  1591. sites.
  1592.  
  1593. As of LILO version 8 there is a "quick install" script available which
  1594. should make LILO installation quick and easy. See Section VII for LILO
  1595. information.
  1596.  
  1597.  
  1598. QUESTION: Cripes! I tried to install LILO, but screwed up somehow, and
  1599. now can't boot anything from the hard drive. How can I fix this?
  1600.  
  1601. ANSWER: Simple. First you need an MS-DOS 5.0 bootable floppy with
  1602. FDISK.EXE on it. Boot it and run the command
  1603.     FDISK /MBR 
  1604. which will (hopefully) restore your hard drive's master boot record to
  1605. a standard MS-DOS boot record. Now you can go back and reinstall LILO.
  1606. :)
  1607.  
  1608.  
  1609. QUESTION: When installing SLS, I get the error "You may have inserted
  1610. the wrong disk" when putting in the next disk in a series. What's
  1611. going on?
  1612.  
  1613. ANSWER: Each disk has a small file on it which contains the name of
  1614. the disk. For example, the SLS a3 disk has a file on it called
  1615. "diska3". If it doesn't exist, or is named something else (like
  1616. "diska3.z"), then just create it/rename it.
  1617.  
  1618. Also, the last disk in a series (i.e. the a4 disk, b5 disk, etc.) has
  1619. a file on it called "install.end". You need this file as well. These
  1620. files are used by the SLS doinstall program to keep track of where it
  1621. is.
  1622.  
  1623.  
  1624.  
  1625. QUESTION: When installing SLS, the installation script creates a "boot
  1626. floppy" for me to boot Linux with. How can I make these myself (or fix
  1627. problems with them?)
  1628.  
  1629. ANSWER: The SLS install scripts just copy the kernel image to a blank
  1630. floppy for you to boot Linux with. When SLS is installed, a copy of
  1631. the kernel is stored in the file /Image on your hard drive: since you
  1632. use the kernel on your boot floppy to boot, this file isn't used
  1633. during the bootup process (unless you install LILO).
  1634.  
  1635. To make a boot floppy yourself, you must do two things:
  1636.   1) Run 'rdev' (a.k.a. 'rootdev') on the kernel in the file /Image to set
  1637.      the root partition it uses. For example, if your root partition is
  1638.      /dev/hda3, run the command
  1639.        rdev /Image /dev/hda3
  1640.   2) Copy the kernel to a new floppy. You may need to DOS format the floppy
  1641.      first (who knows why). Then run the command
  1642.           cp /Image /dev/fd0
  1643.      if the floppy is in /dev/fd0 (the first floppy drive). You can use a
  1644.      command like
  1645.           dd if=/Image of=/dev/fd0 bs=16k
  1646.      as well; they should accomplish the same thing.
  1647.  
  1648. Many folks have problems with their SLS boot disks made in this manner
  1649. because they forgot to run 'rdev' on the kernel image before copying
  1650. it to the floppy.
  1651.  
  1652.  
  1653. QUESTION: When I login as non-root, I get tons of errors about
  1654. "shell-init: permission denied". Also, some things work as root but
  1655. not as a normal user. What's the deal?
  1656.  
  1657. ANSWER: This is a really common problem which comes from not having
  1658. permissions set right and a misunderstanding of some UNIX terms. Some
  1659. installations won' t have the file permissions set correctly on the
  1660. various directories that normal users (i.e. non-root) will use. For
  1661. example, if your user directories are in /home, then /home must be of
  1662. mode rwxr-xr-x, or 'chmod 755 /home'.  Also, a home directory must be
  1663. owned by the user who it belongs to (i.e.  /home/mdw must be owned by
  1664. 'mdw'...  just 'chown mdw /home/mdw', for example).  Also, the
  1665. permissions must be set correctly for / (the root directory). Here's a
  1666. list of permissions that should work (although you can use other
  1667. permissions, these are just suggestions that shouldn't cause trouble):
  1668.  
  1669.  permissions (chmod)   owner   file
  1670.  ----------- -------   -----   ---------------------------------------------
  1671.  rwxr-xr-x   (755)     root    /
  1672.  rwxr-xr-x   (755)     root    /home
  1673.  rwxr-xr-x   (755)     mdw     /home/mdw
  1674.  rwxr--r--   (744)     mdw     /home/mdw/.profile (or other startup files)
  1675.  rwxr--r--   (744)     mdw     /home/mdw/foo (normal files)
  1676.  
  1677. In most cases the group of the file doesn't matter, but in general
  1678. most files are set to group 'root' (except for binaries which are
  1679. group bin, and so on) and user files are set to group 'user' (or
  1680. whatever group users are in).
  1681.  
  1682. In general you want directories that everyone can access to be
  1683. rwxr-xr-x (chmod 755). Files that everyone can read are rwxr--r--
  1684. (chmod 744), and programs that everyone can run are rwxr-xr-x (chmod
  1685. 755).
  1686.  
  1687. Thus /bin, /usr, /usr/bin, /etc, and so on, should all be rwxr-xr-x.
  1688. All binaries should be rwxr-xr-x (unless, of course, they're setuid
  1689. programs).  For UNIX newbies, setuid programs run under the user id of
  1690. the owner, thus programs owned by root which have a permission of
  1691. rwsr-xr-x (note the 's') run as root, with root's priveleges. So
  1692. before changing permissions on a program check to see if it's setuid
  1693. first. To make a program setuid prepend a '4' to the permissions you
  1694. give to chmod, i.e. rwsr-xr-x is 'chmod 4755'.
  1695.  
  1696. Here's a list of common uses for permissions:
  1697.  
  1698. permission    effect on files           effect on directories
  1699. ----------    -----------------------   ---------------------------------
  1700. read          lets you look             lets you see what's in the directory
  1701.           at a file, lets you       with ls
  1702.           run a shell script
  1703.  
  1704. write         lets you edit a file or   lets you delete a file from the
  1705.           copy over it              directory (*)
  1706.  
  1707. execute       lets you run a binary or  lets you cd into the directory
  1708.           shell script
  1709.  
  1710. (*) Note that you can delete a file from a directory even if you DON'T
  1711. have write access to the file itself! Write access to the DIRECTORY
  1712. that the file is in will let you delete any file in that directory.
  1713. The permissions of the file itself have nothing to do with being able
  1714. to delete a file.  This is standard across all UNIX systems, nothing
  1715. new with Linux.
  1716.  
  1717.  
  1718. QUESTION: I have the previous Linux version, how can I upgrade it?
  1719.  
  1720. ANSWER: If you've never done this before, get the kernel sources from
  1721. your nearest FTP site (in a file named something like linux-*.tar.Z)
  1722. and unpack them into /usr/src/linux. As of Linux-0.99 there is a
  1723. script to autoconfigure your kernel, and you need at least GCC version
  1724. 2.3.3.  First run 'make config' and answer the various questions. Then
  1725. edit /usr/src/linux/Makefile to set the root partition, keyboard, etc.
  1726. Finally, do a 'make dep' (to set dependencies: VERY important!) and
  1727. finally 'make'.  Assuming you have GCC installed correctly, the kernel
  1728. should compile and you'll be left with a new "Image" which is your new
  1729. kernel: if you boot from harddrive, copy the Image to wherever you
  1730. told LILO to look for it, or if you boot from floppy dd the Image to a
  1731. new floppy. Make sure that you run "rdev" on the Image to make it look
  1732. for the correct partition for your root filesystem (if you specified
  1733. this correctly in the Makefile you don't need to do this).
  1734.  
  1735. ** Make sure you read /usr/src/linux/README, which explains in detail
  1736. ** what to do when recompiling the kernel.
  1737.  
  1738. If you HAVE done this before, you can just apply the source patches to
  1739. your old sources and then recompile (i.e. you don't have to get the
  1740. entire kernel sources all over again). Use the "patch" program to do
  1741. this.  Before you recompile the kernel do a 'make dep' to set
  1742. dependencies and a 'make clean'.
  1743.  
  1744.  
  1745. QUESTION: Where is /usr/include/linux and /usr/include/asm, or,
  1746. Why won't the kernel compile correctly?
  1747.  
  1748. ANSWER: The files /usr/include/linux and /usr/include/asm are symbolic
  1749. links to /usr/src/linux/include/linux and /usr/src/linux/include/asm,
  1750. respectively. In other words, all of the Linux include files are
  1751. actually under /usr/src/linux/include, but to access them you need two
  1752. symbolic links in /usr/include:
  1753.     /usr/include/linux -> /usr/src/linux/include/linux
  1754.     /usr/include/asm -> /usr/src/linux/include/asm
  1755. To make these, run the commands
  1756.     ln -sf /usr/src/linux/include/linux /usr/include/linux
  1757.     ln -sf /usr/src/linux/include/asm /usr/include/asm
  1758. NOT the other way around. :) If you dont have these links then many 
  1759. compilations will surely fail.
  1760.  
  1761.  
  1762. QUESTION: How can I upgrade to the newest version of GCC?
  1763.  
  1764. ANSWER: See section IX on GCC for more information, but essentially
  1765. all you need to do is FTP to sunsite.unc.edu (or one of the other
  1766. Linux FTP sites) and look in /pub/Linux/GCC. You'll see a number of
  1767. .tar.Z files there (often abbreviated .TZ). The names change from time
  1768. to time: you need to get the compiler (often in a file such as
  1769. 'gcc233.TZ'), header files, and library files. At this point, the
  1770. compiler lives in /usr/bin, the compiler's setup files are under
  1771. /usr/lib/gcc-lib/i386-linux, and the libraries (shared, jump table,
  1772. and static) are all in /usr/lib. It's all very straightforward once
  1773. you actually unpack the tar files and everything falls into place.
  1774.  
  1775.  
  1776. QUESTION: What's the deal with these things called "jump tables"? 
  1777.  
  1778. ANSWER: There's more information in section IX and VII, but to be
  1779. brief: There are three kinds of libraries for Linux. As of gcc v2.3.3
  1780. they all live in /usr/lib. The files are...
  1781.     /usr/lib/*.a   static (non-shared) libraries  (use gcc -static ...)
  1782.     /usr/lib/*.ca  classic shared lib stubs  (use gcc -nojump ...)
  1783.     /usr/lib/*.sa jump table shared lib stubs (use gcc -jump ...)
  1784. When you compile a program, depending on the options you give gcc
  1785. (-jump is the default) it will link it against one set of these
  1786. libraries. The static libs contain all of the code and thus make your
  1787. executable very big; no shared code is used. The classic shared libs
  1788. are actually 'stubs' which reference the shared code in
  1789. /lib/libc.so.VERSION (where VERSION is a number like '4.2').
  1790. /lib/libc.so.VERSION is a file which contains the actual code of the
  1791. library, which is accessed at runtime by your executable. The
  1792. jump-table library stubs are also shared libs, but they are built in
  1793. such a way that you can upgrade the /lib/libc.so.VERSION file without
  1794. having to recompile the programs that use it.
  1795.  
  1796. So when we say "uses Jump Tables version 4.2" we mean it uses the
  1797. actual library itself, /lib/libc.so.4.2. To compile programs that use
  1798. jump tables version 4.2 you need the right version of /usr/lib/*.sa
  1799. installed, but you don't need them to RUN programs that use jump
  1800. tables.
  1801.  
  1802. However programs that are compiled to use, for example, jump table
  1803. version 4.2 (in the file /lib/libc.so.4.2) won't work if you only have
  1804. libc.so.4.1 installed. They're only backwards-compatible. If you get
  1805. errors about 'can't find /lib/libc.so.4.1' then the executable you're
  1806. using is looking at runtime for a jump table version that you don't
  1807. have. Basically you're safe if you have the most recent version of the
  1808. /lib/libc.so.VERSION file installed (which is found on
  1809. sunsite.unc.edu:/pub/Linux/GCC and comes with the GCC stuff).
  1810.  
  1811. You should always have a symbolic link with the major version number
  1812. of the library in /lib, because that's what's actually read. For
  1813. instance, if you have /lib/libc.so.4.2 installed, then you need the
  1814. symbolic link
  1815.     /lib/libc.so.4 -> /lib/libc.so.4.2
  1816. Make this with the command
  1817.     ln -s /lib/libc.so.4.2 /lib/libc.so.4
  1818.  
  1819. QUESTION: How to upgrade jump tables? (Without hanging my system)
  1820.  
  1821. ANSWER: Be careful! If you upgrade your /lib/libc.so.VERSION file and
  1822. either remove the symlink or delete the old libc.so.VERSION file
  1823. before the new one is in place (and the link points to it), then more
  1824. than likely all of your binaries like "cp", "mv", "ls" and "ln" use
  1825. the library, so they'll all stop working once you kill the link or the
  1826. library file. So to upgrade the file, copy the new version to /lib and
  1827. switch the link in one step with a command such as
  1828.     ln -sf /lib/libc.so.NEW_VERSION /lib/libc.so.4 
  1829. where NEW_VERSION is the new version of the library you're installing.
  1830. This will switch the link in one step and everything should work. You
  1831. just can't copy over the old file because the old version is in use by
  1832. 'cp', 'mv', and so on.
  1833.  
  1834.   
  1835. QUESTION: How can I be sure I won't be writing over anything important
  1836. when installing Linux?  I have to use DOS on my machine, and I don't
  1837. want to lose any files.
  1838.  
  1839. ANSWER: Back up everything. Just in case. As long as your DOS and
  1840. Linux partitions don't overlap you should be okay.
  1841.  
  1842.  
  1843. QUESTION: I just rebooted my machine, and now Linux dies with a
  1844. "panic: trying to free unused inode". What's going on?
  1845.  
  1846. ANSWER: You probably forgot to "sync" before rebooting, which stores
  1847. on the disk physically the contents of the kernel buffers. You can
  1848. either run "fsck" on the partition to TRY to correct the problem (it
  1849. might fail), or re-mkfs and re-install the software on that partition.
  1850. For the extended filesystem use "efsck" instead.
  1851.  
  1852. The best way to shutdown your system is the "shutdown" command. To
  1853. shutdown and reboot the system, use
  1854.     shutdown -r now 
  1855. or substitute a number of minutes in place of "now". Leave off the
  1856. "-r" switch if you just want to shutdown and not reboot.
  1857.  
  1858.  
  1859. QUESTION: Can I use both OS/2 and Linux on my machine??
  1860.  
  1861. ANSWER: Yes! See the following two Q/A's about getting your OS/2 Boot
  1862. Manager to work. But, be warned: IF YOU USE OS/2, DO NOT USE LINUX's
  1863. FDISK TO CREATE LINUX PARTITIONS!! The problem is with a bug/feature
  1864. in OS/2's fdisk that tries to correct 'errors' in partitions that it
  1865. doesn't like... Linux partitions included. The solution: make your
  1866. Linux partitions with OS/2's fdisk, then use Linux's fdisk to change
  1867. the partition ID's to the right values (this is self-explanatory with
  1868. Linux's fdisk).
  1869.  
  1870. If you made your Linux partitions with Linux's fdisk, and OS/2 sees
  1871. them, it will think they have errors and end up trashing them.
  1872.  
  1873.  
  1874. QUESTION: I use OS/2's Boot Manager on my hard drive. How can I get it
  1875. to recognize Linux?
  1876.  
  1877. ANSWER: To do this, install LILO on your Linux root partition, NOT on
  1878. your hard drive's master boot record. The lilo command for this would
  1879. be (if /dev/hda3 is your Linux root partition, and your Linux kernel
  1880. is in /Image):
  1881.  
  1882.     /etc/lilo/lilo -c -b /dev/hda3 -v -v /Image
  1883.  
  1884. Then use OS/2's fdisk to add it to the Boot Manager.
  1885.  
  1886.  
  1887. QUESTION: When I run Linux's fdisk it says "OPUS" for OS/2's Boot
  1888. Manager partition. Is this right? What's OPUS?
  1889.  
  1890. ANSWER: It's correct. OPUS is BBS software that used partition type
  1891. 0x0A long before OS/2.
  1892.  
  1893.  
  1894. QUESTION: (Denise Tree)
  1895. Where is /usr/include/linux and /usr/include/asm?"  or "Why
  1896. won't my new kernel source compile without errors?", etc. 
  1897.  
  1898. ANSWER: These directories exist as symbolic links to the online linux
  1899. kernel source found (usually) in /usr/src/linux/include/linux/* and
  1900. /usr/src/linux/include/asm/*. Do:
  1901.   
  1902.    ln -fs /usr/src/linux/include/linux /usr/include/linux
  1903.    ln -fs /usr/src/linux/include/asm /usr/include/asm
  1904.  
  1905. to create the symlinks. OR ELSE! It's a good idea to keep kernel
  1906. source on your system because the header files are needed for
  1907. compilations other than the kernel.
  1908.  
  1909.  
  1910.  
  1911.